import Cookie from 'js-cookie'
const TOKEN_KEY = 'jk_Token'

const getToken = () => {
  return Cookie.get(TOKEN_KEY)
}
const setToken = (token: string) => {
  Cookie.set(TOKEN_KEY, token)
}

const removeToken = () => {
  Cookie.remove(TOKEN_KEY)
}

export { setToken, getToken, removeToken }
